<%@page contentType="text/html; charset=UTF-8" session="false" %>
<%@include  file="/WEB-INF/jspf/import.jspf"%>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" id="pagerForm" name="searchForm" method="post">
        <input type="hidden" name="pageNum" value="${pager.pageNo}" />
        <input type="hidden" name="pageSize" value="${pager.pageSize}" />
        <input type="hidden" name="orderField" value="${orderField}" />
        <input type="hidden" name="orderDirection" value="${orderDirection}" />
    </form>
</div>
<div class="panelBar">
    <ul class="toolBar">
        <li><a class="icon" href="${ROOT}/admin/brand/tag/createTag.do" rel="tag_create" target="navTab"><span>创建标签</span></a></li>
    </ul>
</div>
<div class="pageContent">
    <table class="table" style="width: 100%" layoutH="136">
        <thead>
            <tr>
                <th >标签ID</th>
                <th >标签名称</th>
                <th >操作</th>
            </tr>
        </thead>
        <tbody>
            <c:forEach var="t" items="${pager.resultList}">
                <tr>
                    <td>${t.tagId}</td>
                    <td>${fn:escapeXml(t.tagName)}</td>
                    <td> 
                        <a class="btnEdit" href="${ROOT}/admin/brand/tag/createTag.do?tagId=${t.tagId}"
                           target="navTab" rel="tag-detail" title="修改">修改</a>
                        <!--<a target="ajaxTodo" class="btnDel" href="${ROOT}/admin/brand/tag/delete.do?tagId=${t.tagId}"  title="确定删除?)">删除</a>-->
                    </td>
                </tr>
            </c:forEach>
        </tbody>
    </table>
</div>
<div class="panelBar">
    <div class="pages">
        <span>共 ${pager.total} 条</span>
    </div>
    <div class="pagination" targetType="navTab" totalCount="${pager.total}" numPerPage="${pager.pageSize}" pageNumShown="10" currentPage="${pager.pageNo}"></div>
</div>
